package com.sisyphus.spinach.ui.configs.impl;

import android.app.Activity;
import android.view.View;

import com.scwang.smartrefresh.layout.SmartRefreshLayout;
import com.sisyphus.spinach.core.INetPageTask;

import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;

public interface IPageTemplate<T> {

    View view(@NonNull Activity activity);

    INetPageTask.Presenter<T, INetPageTask.View<T>> presenter();

    INetPageTask.View<T> view(RecyclerView recyclerView, SmartRefreshLayout refreshLayout);

}
